public class Test10 {
    public static void main(String[] args) {
        int content = 5;
        method(content, "heihei");
    }

    public static void method(int number) {
        System.out.println("你传入了数字类型");
    }

    public static void method(int number, int number2) {
        System.out.println("你传入了2个参数");
    }

    public static void method(int number, String str) {
        System.out.println("你还传入了一个字符串");
    }

}
